View.setInsertSpacesInsteadOfTabs

If %TRUE a tab key pressed is replaced by a group of space characters.

Of course it is still possible to insert a real \t programmatically with the [class@Gtk.TextBuffer] API.

class View
void
setInsertSpacesInsteadOfTabs
(
bool enable
)

Parameters

enable bool

whether to insert spaces instead of tabs.

Meta